package com.StarStudio.Service;

import com.ruoyi.common.core.Entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

@Service
@FeignClient(name = "ruoyi-file")
public interface MinIOFileService {

    @PostMapping(value = "/upload",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    Result upload(MultipartFile[] file);
}
